package demo;

public class OutClass {




    public int data1=1;
    private int data2=2;
    public final static int data3=3;


    //实例内部类

    class InnerClass{

        public int data1=1;
        private int data2=2;
        public final static int data3=3;

        public void func(){

            System.out.println(OutClass.this.data1);
            System.out.println(OutClass.data3);
            System.out.println(OutClass.this.data2);
        }

    }

}
